package com.saikuo.service.service;

import com.saikuo.service.api.ApiResultModel;
import org.jdom.JDOMException;

import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;

/**
 * Created by shanchangyu on 16/10/14.
 */
public interface IPayService {
    ApiResultModel payOrder(Long orderId, int payType,HttpServletRequest request);

    void weChatNotifyUrl(ServletRequest request, ServletResponse response) throws IOException, JDOMException;

    void aliPayNotifyUrl(ServletRequest request, ServletResponse response,int deliveryWay) throws IOException;

}
